package org.smartjava.util;

import javax.xml.crypto.Data;
import java.sql.Time;
import java.util.Date;

public class TimeUtil {
    public static long current() {
        return System.currentTimeMillis();
    }

    public static String currentTime() {
        return new Time(new Date().getTime()).toString();
    }
}
